# Name of the compiler
CXX= mpic++

# The command line options to give to the compiler
CXXFLAGS= -g -W -Werror -Wall -ansi -I /usr/csshare/include

OBJECTS= log.o threadmgr.o

LIBS = -lpthread

# where to look for libraries
LIBDIRS= -L /usr/local/lib -L /usr/csshare/lib

# compile a Big C++ Grpahics Package program
all: $(OBJECTS) car.h threadobj.h database.h outstream.h
	$(CXX) $(CXXFLAGS) $(LIBDIRS) -o a.out main.cpp $(OBJECTS) $(LIBS)


# remove unecessary files
clean:
	rm -rf *~ a.out *.o
